package com.ruoyi.web.controller.preview;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.ruoyi.common.annotation.Anonymous;

/**
 * 前端预览页面控制器
 * 
 * @author ruoyi
 */
@Anonymous
@Controller
public class PreviewPageController
{
    /**
     * 预览基础页面
     */
    @GetMapping("/preview/{pageKey}")
    public String preview(@PathVariable("pageKey") String pageKey)
    {
        return "preview";
    }
} 